------------------------------------------------------------------------ NED LED Control Copyright (c) 1995-1997 Northeast Data Corp. All Rights Reserved ------------------------------------------------------------------------ Demo Release 1.1 for 32-bit VC++ users June 1997 This document describes the NED LED Control. CONTENTS 1. Product Description 2. Legal Information 3. Installation <---IMPORTANT 4. Usage 5. Ordering information 6. Release notes ------------------------------------------------------------------------ 1. Product Description The NED LED Control is a 32-bit Microsoft Windows OLE custom control that provides both analog and digital Light Emitting Diode types of controls. The analog control is a bar type of LED that is commonly seen on stereo equipment. The digital control displays numeric data. It can be used with any host programming environment or application that supports 32-bit OCX controls. ------------------------------------------------------------------------ 2. Legal Information The purchaser of the NED LED Control is allowed to use it and distribute it in applications without paying any royalty, and without printing or displaying a copyright notice for the control. This only includes distribution of the NLED.OCX control and supporting files. It does not include distribution of documentation that comes with the NED LED Control. The purchaser of the NED LED Control may distribute the control with applications that are networked (multiple users accessing the control from a file server) without paying any license fees to Northeast Data Corp. ------------------------------------------------------------------------ 3. Installation Create a temp directory on your hard disk and copy all files from the distribution disk to the directory. These files include: README.TXT (This file) NLED.OCX (NED LED OCX) demo.cpp (Demo sample source file) demo.h (Demo sample source file) demo.mak (Demo sample source file) demo.rc (Demo sample source file) demodlg.cpp (Demo sample source file) demodlg.h (Demo sample source file) led1.cpp (Demo sample source file) led1.h (Demo sample source file) led2.cpp (Demo sample source file) led2.h (Demo sample source file) resource.h (Demo sample source file) stdafx.cpp (Demo sample source file) stdafx.h (Demo sample source file) If you have downloaded the NLEDVC11.ZIP file, use PKUNZIP to extract the files into the temp directory. The files listed below are required to use the OCX and demo in this archive. This files can be found in OCX5032.ZIP in the same area as NLEDVC11.ZIP. This files in this archive should be placed in the same directory as the above OCX files. MFC42.DLL (Required for OCX) MSVCRT.DLL (Required for OCX) OLEPRO32.DLL (Required for OCX) OLEAUT32.DLL (Required for OCX) REGSVR32.EXE (Control registration utility) If you already have these files on your system, they are probably located in the System or System32 directory. If this is the case, you probably do not need to download these files again. To register the OCX, place all of the above files in the System(32) directory and run the REGSVR32 on the following files: MFC42.DLL OLEPRO32.DLL NLED.OCX A 32-bit Microsoft Visual C++ example application is provided with the NED LED control. You must have the 32-bit version of Microsoft Visual C++ installed on your machine to run this demo. The example application allows you to view both the LED 1 and LED 2 controls interactively. The demo application is not crippled in any way. The dialog specifying that this is an unregistered version of the control does not appear in the release version. ------------------------------------------------------------------------ 4. Usage PROPERTIES ---------- "Value" The numeric value displayed in the control. "NumPositions" The number of positions (digits) the control can display. "LeadingZero" TRUE indicates unused digits are displayed as zero. FALSE indicates unused digits are displayed as blank. "BackColor" The color of the background the digits are displayed on. "ForeColor" The color of the digits. "ShowDecimal" TRUE indicates that a decimal point will be displayed. FALSE indicates that no decimal point will be displayed. "DecimalPosition" A numeric value that indicates which position will contain the decimal point. For example, 0 = to the right of the ONES position 1 = to the right of the tens position etc... METHODS ------- "AboutBox" Displays the about box for the LED 1 Control. PROPERTIES ---------- "DarkColor" The color of the unlit LED's. "HighliteColor" The color of the highlite portion of the control for 3D shading. "InnerSpace" The amount of space between LED segments. "LEDType" The orientation of the control. TRUE - Vertical Control FALSE - Horizontal Control "Direction" The direction the LED's light up in. TRUE - Reverse direction FALSE - Normal direction "LightColor" The color of the lit LED's. "NumSegments" The number of LED's to display. "Outline" TRUE - Draw a segment outline. FALSE - No Segment outline is drawn. "OutlineColor" The color of the segment outline if it is drawn. "ShadowColor" The color of the shadow portion of the control for 3D shading. "SideSpace" The amount of space between the side of the control and the first LED segment. "Thickness" How thick each segment should be. "Value" The current value of the control. "MinValue" The minimum value of the control. "MaxValue" The maximum value of the control. "BackColor" The background color of the control. "LoLightColor" Color of the lit lobound LEDs. "LoDarkColor" Color of the unlit lobound LEDs. "HiLightColor" Color of the lit hibound LEDs. "HiDarkColor" Color of the unlit hibound LEDs. "LoBound" Low bound coloring area. "HiBound" High bound coloring area. "RoundSegment" TRUE - Draw round segments. FALSE - Draw rectangle segments. METHODS ------- "AboutBox" Displays the about box for the LED 2 Control. ------------------------------------------------------------------------ Northeast Data Corp. 2117 Buffalo Rd., Suite 290 Rochester, NY 14624 Phone (716) 426-7334 (voice & fax) E-Mail: ned1@frontiernet.net CompuServe: 71321,3304 Home Page: http://www.frontiernet.net/~ned1/index.htm ------------------------------------------------------------------------ 5. Ordering Information The price of the NED LED Control is $89.00US. The price of the NED LED Source Code is $299.00US. Physical shipping and handling fees in the US are $15.00US. Physical shipping and handling fees outside the US are $20.00US. ***E-mail delivery is free.*** New York State residents must add 8% sales tax. DIRECT For US orders, we accept Visa, MasterCard, Purchase Orders, check or money order. For orders outside of the US, we accept Visa or MasterCard. For credit card orders, you may call or fax us at (716) 426-7334. Please specify the following information: Product you wish to order Quantity (one per developer per product) Credit Card Type (Visa or MasterCard) Name on Credit Card Expiration Date Name and address of person the software is registered to. Phone and fax numbers e-mail address Please specify e-mail or physical delivery methods. ***E-mail delivery is free.*** COMPUSERVE The ID for the NED LED Conrtol is 9082. The ID for the NED LED Control Source code is 9190. RESELLERS at-Once Software (www.atonce.com) US sales only ObjectTiger (www.objecttiger.com) US and International Sales ------------------------------------------------------------------------ 6. Release notes Version 1.0 - January 1996 + First commercial release. Version 1.1 - June 1997 + Rebuilt with VC++ 5.0 - smaller file size